<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./iconfont/iconfont.css">
  <style>
    div {
      /* border: solid; */
    }

    .search {
      display: flex;
      height: 35px;
      width: 490px;
      /* border: 1px solid #e1251b; */
      /* border: 1px solid #c81623; */
      box-shadow: 0 0 0px 1px #e1251b;
    }

    .search .right {
      cursor: pointer;
      width: 58px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #e1251b;
      color: white;
    }

    .search .right:hover {
      background-color: #c81623;
    }

    .search .left {
      display: flex;
      flex: 1 0 auto;

    }

    .search .left .input {
      flex: 1 0 auto;
      display: flex;

    }

    .search .left .input input {
      flex: 1 0 auto;
      margin-left: 20px;
      border: none;
      outline: none;

      color: #333333
    }

    .search .left .input-icon {
      width: 58px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: rgb(200, 200, 200);
    }
  </style>
</head>

<body>
  <div class="search">
    <div class="left">
      <div class="input">
        <input type="text">
      </div>
      <div class="input-icon"> <i class="iconfont icon-camera"></i> </div>
    </div>
    <div class="right"><i class="iconfont icon-search"></i></div>
  </div>
</body>

</html>